﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MODELENGLib;

namespace Founder.PKURG.VisioReader
{
    class VME
    {
        public VisioModelingEngine vme;
        public VME()
        {
            try
            {
                this.vme = new VisioModelingEngineClass();
            }
            catch
            {
                Type typeFromCLSID = Type.GetTypeFromCLSID(new Guid("{19FD6844-676F-4F5E-A319-1C237A6BE243}"));
                this.vme = (VisioModelingEngine)Activator.CreateInstance(typeFromCLSID);
            }
        }
    }
}
